package com.kehutong.payfees.entity.treasure;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

/**
 * e签宝个人账户
 *
 */
@Table(value = "t_personal_account", comment="个人账户", multi = true)
public class PersonalAccount extends Entity {

    private static final long serialVersionUID = -2128360030784629073L;

    protected PersonalAccount(String id) {
        super(id);
        setIdType("CRED_PSN_CH_IDCARD");
    }

    @Column(comment = "返回的个人账户id")
    private String accountId;

    @Column(comment = "姓名")
    private String name;

    @Column(comment = "证件类型，默认CRED_PSN_CH_IDCARD，大陆身份证")
    private String idType;

    @Column(comment = "证件号（非实名签署时必填）")
    private String idNumber;

    @Column(comment = "手机号码，手机号为空时无法使用短信意愿认证")
    private String mobile;

    @Column(comment = "邮箱地址")
    private String email;

    @Column(comment = "逻辑删除")
    private boolean deleted;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
